STEP 11: Time to put the letters in the list back into a single string!

  • Go to and drag Add Value INSIDE the loop. It should be indented twice!
  • Change my_var to code_word and 1 to value. This adds each item in the letters list to code_word!
  • In add Print Variable to the loop to print the value of code_word each time the loop runs!

This loop adds each item in the list together and stores them as a string in the variable code_word.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)